﻿<!--
  // Deep Earth is a community project available under the Microsoft Public License (Ms-PL)
  // Code is provided as is and with no warranty - Use at your own risk
  // View the project and the latest code at http://DeepEarth.codeplex.com/
-->

<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"  
    xmlns:DateLine="clr-namespace:DeepEarth.Client.Controls.DEMap"
    xmlns:ToolPanel="clr-namespace:DeepEarth.Client.Controls;assembly=DeepEarth.Client.Controls.ToolPanel">

    <Style TargetType="DateLine:DateLine">
        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="DateLine:DateLine">
                    <StackPanel Orientation="Horizontal">
                        <ComboBox x:Name="PART_datesList" Width="180"/>
                        <ToolPanel:ToolPanel>
                            <ToolPanel:ToolPanel.Content>
                                <StackPanel  Orientation="Horizontal">
                                    <Canvas x:Name="PART_sliderCanvas" Margin="8,0,8,12" Width="550" VerticalAlignment="Center">
                                        <Line X1="0" X2="500" Y1="6" Y2="6" Stroke="Green" StrokeThickness="1" />
                                        <Line X1="0" X2="500" Y1="7" Y2="7" Stroke="Green" StrokeThickness="1" />
                                    </Canvas>
                                </StackPanel>
                            </ToolPanel:ToolPanel.Content>
                        </ToolPanel:ToolPanel>
                    </StackPanel>
                </ControlTemplate>
            </Setter.Value>
        </Setter>
    </Style>

</ResourceDictionary>